<?php

/* @var $this \yii\web\View */
/* @var $content string */

use backend\assets\AppAsset;
use backend\assets\EasyuiAsset;
use yii\helpers\Html;

AppAsset::register($this);

EasyuiAsset::register($this,
    [
        // 'theme'  => 'default',
        // 'theme'  => 'black',
        // 'theme'  => 'bootstrap',
        'theme'  => 'cupertino', // *
        // 'theme'  => 'dark-hive',
//         'theme'  => 'gray',
        // 'theme'  => 'material',
        // 'theme'  => 'metro',
        // 'theme'  => 'metro-blue',
        // 'theme'  => 'metro-gray',
        // 'theme'  => 'metro-green',
        // 'theme'  => 'metro-orange',
        // 'theme'  => 'metro-red',
        // 'theme'  => 'pepper-grinder',
        // 'theme'  => 'sunny',

        'locale' => 'easyui-lang-zh_CN']
//, ['datagrid-groupview']
);

?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <link rel="shortcut icon" href="<?=Yii::getAlias('@web/favicon.ico')?>" />
    <?php $this->head() ?>
</head>
<body class="easyui-layout">
<?php $this->beginBody() ?>
<div class="easyui-panel" data-options="<?= (isset($this->params['body_border']) && !$this->params['body_border']) ? 'border:false' : 'border:true' ?>,fit:true">

    <?= $content ?>

</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
